<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <link href="{{Asset('assets/images/logo.png')}}" rel="shortcut icon" type="image/x-icon" />
        <title>
            @section('title')
                Việc Làm Thêm 24
            @show
        </title>
        
        @section('style')
        @show
        {{ HTML::style('assets/stylesheets/library/bootstrap.min.css') }}
        {{ HTML::style('assets/stylesheets/library/font-awesome.min.css') }}
        {{ HTML::style('assets/stylesheets/library/simple-line-icons.min.css') }}
        {{ HTML::style('assets/stylesheets/library/smartadmin-production.min.css') }}
        {{ HTML::style('assets/stylesheets/library/smartadmin-skins.min.css') }}
        {{ HTML::style('assets/stylesheets/library/demo.min.css') }}
        {{ HTML::style('assets/stylesheets/pjob.css') }}
        
        <!-- GOOGLE FONT -->

        <script type="text/javascript"> 
            baseUrl = "{{ URL::to('/') }}";
            timeOutNumber = 10000; //in ms
            thousandsSep = '<?php echo Session::get('language_code') === 'en' ? '.' : ',' ?>';
            language_code = "{{ Session::get('language_code', 'en') }}";
        </script>
        
        {{ HTML::script('assets/javascripts/library/libs/jquery-2.0.2.min.js') }}
        {{ HTML::script('assets/javascripts/library/libs/jquery-ui-1.10.3.min.js') }}
        
    </head>
    <body class="">
    	<div id="fb-root"></div>
		<script>(function(d, s, id) {
		  var js, fjs = d.getElementsByTagName(s)[0];
		  if (d.getElementById(id)) return;
		  js = d.createElement(s); js.id = id;
		  js.src = "//connect.facebook.net/vi_VN/sdk.js#xfbml=1&appId=1537206013209486&version=v2.0";
		  fjs.parentNode.insertBefore(js, fjs);
		}(document, 'script', 'facebook-jssdk'));</script>
		
		<div id="page">
			@include('elements/header')
        	<div class="main-content">
        		@yield('content')
        	</div>
		</div>
        
        
        <!-- PACE LOADER - turn this on if you want ajax loading to show (caution: uses lots of memory on iDevices)-->
        <script data-pace-options='{ "restartOnRequestAfter": true }' src="{{Asset('assets/javascripts/library/plugin/pace/pace.min.js')}}"></script>

        {{ HTML::script('assets/javascripts/library/app.config.js') }}
        {{ HTML::script('assets/javascripts/library/plugin/jquery-touch/jquery.ui.touch-punch.min.js') }}
        {{ HTML::script('assets/javascripts/library/bootstrap/bootstrap.min.js') }}
        {{ HTML::script('assets/javascripts/library/notification/SmartNotification.min.js') }}
        {{ HTML::script('assets/javascripts/library/smartwidgets/jarvis.widget.min.js') }}
        {{ HTML::script('assets/javascripts/library/plugin/sparkline/jquery.sparkline.min.js') }}
        {{ HTML::script('assets/javascripts/library/plugin/masked-input/jquery.maskedinput.min.js') }}
        {{ HTML::script('assets/javascripts/library/plugin/msie-fix/jquery.mb.browser.min.js') }}
        {{ HTML::script('assets/javascripts/library/plugin/fastclick/fastclick.min.js') }}
        {{ HTML::script('assets/javascripts/library/plugin/select2/select2.min.js') }}
        {{ HTML::script('assets/javascripts/library/jquery.marquee.min.js') }}
        {{ HTML::script('assets/javascripts/library/bootbox.min.js') }}
        {{ HTML::script('assets/javascripts/library/app.min.js') }}
        {{ HTML::script('assets/javascripts/common.js') }}
        {{ HTML::script('assets/javascripts/pjob.js') }}
        
        <script>
			$('.new-jobs').marquee({
			  pauseOnHover: true,
			  duration: 18000,
			  duplicated: true
			});
			$('select.select2').select2();
			$('.select2-hidden-accessible').css('display', 'none');
        </script>
        
        @section('scripts')
        @show
    </body>
</html>